<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/sncss/css/combo.select.css" rel="stylesheet" type="text/css" />
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/simditor/styles/simditor.css" /> -->
</head>

<body>

	<div class="place">
	<span>位置：</span>
	<ul class="placeul">
	<li><a>首页</a></li>
	<li><a>财务管理</a></li>
	<li><a>一键兑换</a></li>
	</ul>
	</div>

	<div class="formbody">

	<div class="formtitle"><span>一键兑换</span></div>
	<ul class="forminfo">
	<li><label>&nbsp;</label>
	<input type="submit" id="overflow" class="btn" onclick="password()" value="一键兑换"/>
	</li>
	</ul>

	</div>


</body>

<script src="__PUBLIC__/admin/Js/jquery-1.7.2.min.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>

<script type="text/javascript">
function password(){
	layer.open({title: false, type: 1, area: ['400px', '200px'], //宽高
		content: '<div class="mainlist" style="padding:30px;"><form id="form2" name="form2" method="post" action="/Home/Money/draw_time" onsubmit="return form2_submit();">'
		+'请输入密码<br><br>'
		+'<input id="password" name="password" class="dfinput" value="" />'
		+'<br><br><input type="submit" class="btn" value="确认"/></form></div>'
	});
}

function form2_submit(){
	var password= $('#password').val();
	if(password.length==0){
			layer.msg('必须填密码');return false;
	}
	$("#overflow").attr("disabled","disabled");
	layer.load(1, {shade: [0.8, '#393D49']});
}
</script>

</html>
